<html>
<head>
<link rel="stylesheet" type="text/css" href=<?php echo base_url()."zy.css"; ?> />
<title>修改处方</title>
</head>
<body>
<center>
<?php
	$this->load->library('myphplib');
	myphplib::myheadlinks();
?>
<br />
<br />
<br />
<h1>修改处方</h1>

<?php
$name = $row->name;
$url = base_url()."index.php?c=zy_prescribe&m=modifydone&name=".$name;
echo form_open($url, "name=\"form_modifydone\" onsubmit=\"return check()\"");
?>

<table>
<tr>
<td><?php echo str_replace(chr(32),'&nbsp;',addslashes(htmlspecialchars($row->name))) ?></td>
</tr>
<tr>
<td>
<?php
$ndata = array('name' => 'prescribe_value', 'value' => "$row->value", 'cols' => '100%', 'rows' => '10');
echo form_textarea($ndata);
?>
</td>
</tr>
<tr>
<td>
<?php
$ndata = array('name' => 'prescribe_usemethod', 'value' => "$row->usemethod", 'cols' => '100%', 'rows' => '10');
echo form_textarea($ndata);
?>
</td>
</tr>
<tr>
<td colspan="8" align="center"><input type="submit" value="修改" style="font-size: 15px" /></td>
</tr>
</table>
</form>

</center>
</body>
</html>